package org.jeecg.modules.wms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.wms.entity.WmsSupplier;
import org.jeecg.modules.wms.vo.WmsPurchaseOrderVO;

/**
 * @Description: 供应商信息表
 * @Author: jeecg-boot
 * @Date: 2023-07-18
 * @Version: V1.0
 */
public interface WmsSupplierMapper extends BaseMapper<WmsSupplier> {
    
    /**
     * 获取供应商采购历史记录
     * @param page 分页参数
     * @param supplierId 供应商ID
     * @return 采购订单列表
     */
    IPage<WmsPurchaseOrderVO> getSupplierPurchaseHistory(Page<WmsPurchaseOrderVO> page, @Param("supplierId") String supplierId);
} 